import axios from 'axios'
var url="https://m.maizuo.com/gateway"
// 导出一个promise对像
export default     axios({
     url,
      headers:{
        "X-Host":"mall.film-ticket.city.list",
        "X-Client-Info": `{"a":"3000","ch":"1002","v":"5.0.4","e":"1633053413552375743938561","bc":"110100"}`
      },
      method:"get"
    }).then(function (response) {
      // 城市
         return response.data.data.cities 
            })
            .catch(function (error) {
                console.log(error);
            });
// 里面都是城市 比如 {cityId: 110100, name: '北京', pinyin: 'beijing', isHot: 1}

